const devDir = 'C:/baoxiao_back/origin';
const prodDir = 'C:/baoxiao_back/origin'; // 存放文件的根目录

module.exports = {
  thead: {
    department: 0,
    name: 2,
    id: 1,
    date: 3,
    startTime: 4,
    endTime: 5,
    time: 6,
    food: 7,
    car: 8,
    location: 9,
  },
  // 存放上传文件的地址
  fileDir: process.env.NODE_ENV === 'dev' ? devDir : prodDir,
  filePath: {
    user: '/user/', // 用户上传的时间文件目录
  },
  downPath: 'http://47.114.61.255/downFile/'   // 实际指向 C:\baoxiao_back\origin
};
